{% extends 'index.html' %}
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="{% static 'js/jquery-3.6.0.min.js' %}"></script>
    <script src="{% static '/static/kindeditor/kindeditor-all.js' %}"></script>
    <script charset="utf-8" src="{% static '/static/kindeditor/lang/zh-CN.js' %}"></script>

</head>
<body>
{% block mainpage %}
    <textarea name="editor" id="editor_id"></textarea>
    <script>
        KindEditor.ready(function (K) {
            window.editor = K.create('#editor_id');
        });
    </script>
{% endblock mainpage %}
</body>
</html>